//package com.kws.merchant.controller;
//
//import com.alibaba.fastjson.JSONObject;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
//import com.kws.common.core.domain.R;
//import com.kws.merchant.domain.DeviceRemark;
//import com.kws.merchant.domain.po.UserRemarkPo;
//import com.kws.merchant.domain.vo.UserRemarkVo;
//import com.kws.merchant.service.UserRemarkService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
///**
// * @author : zhangbenting
// * @date : 2024/11/7 14:53
// * @Version: 1.0
// */
//@RequestMapping("/userOrder")
//@RestController
//@Api(value = "用户服务-用户评论管理", tags = "用户服务-用户评论管理")
//public class UserRemarkController {
//
//    @Autowired
//    private UserRemarkService userRemarkService;
//
//
//    @PostMapping("/addUserRemark")
//    @ApiOperation(value = "用户对商品订单评价")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "userRemarkPo.orderNo",
//            "userRemarkPo.goodsType",
//            "userRemarkPo.goodsId",
//            "userRemarkPo.remark",
//            "userRemarkPo.tag"
//    })
//    public R<Boolean> addUserRemark(@RequestBody UserRemarkPo userRemarkPo) {
//        return R.ok(userRemarkService.addUserRemark(userRemarkPo));
//    }
//
//    @GetMapping("/getUserRemarkList")
//    @ApiOperation(value = "获取用户评论列表")
//    public R<List<UserRemarkVo>> getUserRemarkList() {
//        return R.ok(userRemarkService.getUserRemarkList());
//    }
//
//    @GetMapping("/getUserRemarkInfo")
//    @ApiOperation(value = "获取用户评论详情")
//    public R<List<DeviceRemark>> getUserRemarkInfo(@RequestParam Long goodsId) {
//        return R.ok(userRemarkService.getUserRemarkInfo(goodsId));
//    }
//
//    @GetMapping("/deleteUserRemark")
//    @ApiOperation(value = "删除用户评论")
//    public R<Boolean> deleteUserRemark(@RequestParam Long remarkId) {
//        return R.ok(userRemarkService.deleteUserRemark(remarkId));
//    }
//
//}
